package com.ae.shield.common.items.shieldFittings.makers;

import net.minecraft.item.ItemStack;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TextFormatting;
import net.minecraft.util.text.TranslationTextComponent;

import java.util.List;

public class ParticleShield extends ShieldMakerBase {
    public ParticleShield() {
        super(new Properties(), new ShieldMakerBase.ShieldProperty()
                .recovery(0.125f)
                .cd(40f)
                .maxIntensity(20f)
                .close(1f)
                .remote(1f)
                .magic(0f)
                .other(1.4f)
                .upperLimit(30f)
                .floorLimit(0f)
                .maxPiles(2)
                .penalty(10f)
                .cost(6));
    }

    @Override
    public void addCtrlInformation(List<ITextComponent> components, ItemStack stack) {
        components.add(new TranslationTextComponent("tooltip.ae.shield.particle_shield.tip1").mergeStyle(TextFormatting.GRAY));
        components.add(new TranslationTextComponent("tooltip.ae.shield.particle_shield.tip2").mergeStyle(TextFormatting.GRAY));
    }
}
